package com.bank.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author bank
 * @since 2022-03-16
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="BaMeans对象", description="")
public class BaMeans implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "用户资料id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "真实姓名")
    private String name;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "银行卡号")
    private Integer count;

    @ApiModelProperty(value = "取钱密码")
    private String drawPassword;

    @ApiModelProperty(value = "账户余额")
    private float balance;

    @ApiModelProperty(value = "资料状态")
    private String status;

    @ApiModelProperty(value = "银行卡号")
    private Integer userId;

    @TableField(exist = false)
    private BaUser baUser;


}
